package com.sl.mes.db.service.bd;


import com.sl.mes.db.dao.BdMaterialVMapper;
import com.sl.mes.db.itf.bd.IBdMaterial;
import com.sl.mes.db.itf.bd.IBdMaterialV;
import com.sl.mes.db.vo.BdMaterialV;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;


@Service
public class MaterialDaoService implements IBdMaterialV {


    @Resource
    private BdMaterialVMapper bdMaterialVMapper;

    /**
     * 根据id进行查询
     * @param pk_source
     * @return
     */
    @Override
    public BdMaterialV findBdMaterialById(String pk_source) {
        return bdMaterialVMapper.selectByPrimaryKey(pk_source);
    }
}
